/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.h2t.loveplace.views.canvas;

import com.nokia.maps.routing.Route;
import com.nokia.maps.routing.RouteListener;
import com.nokia.maps.routing.RouteRequest;
import javax.microedition.lcdui.Display;

/**
 *
 * @author PHAN THAI
 */
public class MapCanvas extends com.nokia.maps.map.MapCanvas {
    
	/**
	 * @param display
	 */
	public MapCanvas(Display display)
	{
		super(display);
	}

	public void keyPressed(int keycode, int gameAction)
	{
		super.keyPressed(getGameAction(keycode));
	}

	public void keyReleased(int keycode, int gameAction)
	{
		super.keyPressed(getGameAction(keycode));
	}

	public void keyRepeated(int keycode, int gameAction)
	{
		super.keyPressed(getGameAction(keycode));
	}
	
	public void pointerPressed(int x, int y)
	{
		super.pointerPressed(x, y);
	}
	
	public void pointerReleased(int x, int y)
	{
		super.pointerReleased(x, y);
	}
	
	public void pointerDragged(int x, int y)
	{
		super.pointerDragged(x, y);
	}

	public void onMapContentComplete()
	{
		super.onMapContentUpdated();
	}

	public void onMapUpdateError(String err, Throwable t, boolean critical)
	{
	}

}
